﻿using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO {
    /// <summary>
    /// 集市订单
    /// </summary>
    public class token_bazaar_order_dto {
        public long id { get; set; }
        /// <summary>
        /// 买家用户id
        /// </summary>
        public long buy_id { get; set; }
        /// <summary>
        /// 买家用户名称
        /// </summary>
        public string buy_merchant_name { get; set; }
        /// <summary>
        /// 买家用户手机号
        /// </summary>
        public string buy_merchant_mobile { get; set; }
        /// <summary>
        /// 卖家用户id
        /// </summary>
        public long seller_id { get; set; }
        /// <summary>
        ///卖家用户名称
        /// </summary>
        public string seller_merchant_name { get; set; }
        /// <summary>
        /// 卖家用户手机号
        /// </summary>
        public string seller_merchant_mobile { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string order_no { get; set; }
        /// <summary>
        /// 商品id
        /// </summary>
        public long product_id { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string product_name { get; set; }
        /// <summary>
        /// 商品介绍
        /// </summary>
        public string prodcut_desc { get; set; }
        /// <summary>
        /// 商品主图
        /// </summary>
        public string product_img { get; set; }
        /// <summary>
        /// 商品图片
        /// </summary>
        public List<string> product_imgs { get; set; }
        /// <summary>
        /// 订单价格
        /// </summary>
        public decimal price { get; set; }
        /// <summary>
        ///  发货方式 0 邮寄 1 自提
        /// </summary>
        public int shipping_type { get; set; }
        /// <summary>
        /// 订单状态 集市订单状态 0待发货 1待收货 2交易成功 3交易取消
        /// </summary>
        public EBazaarOrderStatus status { get; set; }
        /// <summary>
        /// 状态描述
        /// </summary>
        public string status_desc { get; set; }
        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string ship_name { get; set; }
        /// <summary>
        /// 收货人手机号
        /// </summary>
        public string ship_phone { get; set; }
        /// <summary>
        /// 收货人区域地址
        /// </summary>
        public string ship_region_name { get; set; }
        /// <summary>
        /// 收货人详细地址
        /// </summary>
        public string ship_address { get; set; }
        /// <summary>
        /// 物流公司
        /// </summary>
        public string express_company_name { get; set; }
        /// <summary>
        /// 物流公司编码
        /// </summary>
        public string express_no { get; set; }
        /// <summary>
        /// 物流单号
        /// </summary>
        public string ship_order_number { get; set; }
        /// <summary>
        /// 是否已删除
        /// </summary>
        public bool is_del { get; set; }
        /// <summary>
        /// 发货时间
        /// </summary>
        public DateTime? ship_time { get; set; }
        /// <summary>
        /// 订单完成时间
        /// </summary>
        public DateTime? finish_time { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime update_time { get; set; }
    }
}
